package com.example.service.impl;

import com.example.dao.StudentMapper;
import com.example.model.Student;
import com.example.service.UserTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service("userTestService")
public class UserTestServiceImpl implements UserTestService {
    StudentMapper studentMapper;

    @Override
    public String getUser() {
        Student student = studentMapper.selectByPrimaryKey(1L);
        return student.toString();
    }

    @Override
    public Student selectByLocalName(String localName) {
        return null;
    }
}
